// FreeStore.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "Resource.h"
#include <iostream>
#include "Person.h"

using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
	/*{
		Resource localResource("local");
		string localString=localResource.GetName();
	}

	Resource* pResource =new Resource("created with new");
	string newString=pResource->GetName();

	Resource* p2=pResource;
	string string2=p2->GetName();

	delete pResource;*/
	
	//string string3=pResource->GetName();
	/*pResource=nullptr;
	delete pResource;
	delete p2;*/

	Person Kate("Kate","Hudson",345);
	Kate.AddResource();
	Kate.SetFirstName("Kate2");
	Kate.AddResource();

	Person Kate2=Kate;
	Kate=Kate2;


	int a;
	cin>>a;
	return 0;
}

